home *** CD-ROM | disk | FTP | other *** search
/ MacTech 1 to 12 / MacTech-vol-1-12.toast / Source / SpriteWorld 2.0 ƒ / SpriteWorld Examples / SimpleBreakOut / SimpleBreakOut.h < prev    next >
Encoding:
Text File  |  1996-05-11  |  849 b   |  35 lines  |  [TEXT/KAHL]

  1. ///--------------------------------------------------------------------------------------
  2. // SimpleBreakOut.h
  3. //
  4. // By: Tony Myles
  5. //
  6. // Copyright © 1993 Tony Myles, All rights reserved worldwide.
  7. ///--------------------------------------------------------------------------------------
  8.  
  9.  
  10. #ifndef __SIMPLEBREAKOUT__
  11. #define __SIMPLEBREAKOUT__
  12.  
  13. #ifndef __WINDOWS__
  14. #include <Windows.h>
  15. #endif
  16.  
  17.  
  18.  
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22.  
  23. void PerformSimpleAnimation(CWindowPtr srcWindowP);
  24. void BallCollideProc(SpritePtr ballSpriteP, SpritePtr brickSpriteP, Rect* sectRect);
  25. void PaddleCollideProc(SpritePtr paddleSpriteP, SpritePtr ballSpriteP, Rect* sectRect);
  26. void SetUpPaddle(SpritePtr paddleSpriteP);
  27. void PaddleMoveProc(SpritePtr paddleSpriteP);
  28. void BallMoveProc(SpritePtr srcSpriteP);
  29.  
  30. #ifdef __cplusplus
  31. }
  32. #endif
  33.  
  34.  
  35. #endif /* __APPLICATION__ */